package demo.jms.listener;

import demo.entity.Email;

public class EmailQueueAdapter {
	/**
	 * MessageListenerAdapter接受消息默认调用的方法
	 */
	public void handleMessage(Email email) {
		System.out.println("EmailQueueAdapt通过handleMessage接收到一个Email消息，消息内容是：" + email.toString());
	}
}
